<template>
  <div class="dashboard-editor-container" style="height: 950px">
      <el-row>
      <div class="bottom">
      <el-row style="font-size: 20px; font-weight: bold; text-align: left;height: 100px">
          提案流程
      </el-row>
      <el-row style="margin-left: 60px;  margin-right: 60px">
      <el-steps :active="1">
  <el-step title="提案受理" icon="el-icon-document-add"></el-step>
  <el-step title="提案委受理" icon="el-icon-tickets"></el-step>
  <el-step title="正式提案" icon="el-icon-document-checked"></el-step>
  <el-step title="相关部门审核" icon="el-icon-s-check"></el-step>
  <el-step title="正式提案" icon="el-icon-document"></el-step>
</el-steps>
      </el-row>
      </div>
      </el-row>
      <el-row>
          <div class="bottom">
           <el-row style="font-size: 15px; font-weight: bold; text-align: left;height: 100px">
        <el-col style="font-size: 16px; font-weight: bold; text-align: center;height: 100px"  :span="2" :offset="1">
          提案内容:
        </el-col>
          <el-col :span="5">
            <el-input
             placeholder="请输入内容"
             prefix-icon="el-icon-search"
             v-model="content">
            </el-input>
          </el-col>
          <el-col style="font-size: 16px; font-weight: bold; text-align: center;height: 100px"  :span="2" :offset="1">
          案件状态:
        </el-col>
        <el-col :span="2">
            <el-select v-model="value" placeholder="全部">
            <el-option
             v-for="item in options"
             :key="item.value"
             :label="item.label"
             :value="item.value">
           </el-option>
           </el-select>
        </el-col>
        <el-col style="font-size: 16px; font-weight: bold; text-align: center;height: 100px"  :span="2" :offset="1">
          案件类型:
        </el-col>
        <el-col :span="2">
            <el-select v-model="value" placeholder="全部">
            <el-option
             v-for="item in type"
             :key="item.value"
             :label="item.label"
             :value="item.value">
           </el-option>
           </el-select>
        </el-col>
        <el-col :span="1" :offset="1">
          <el-button type="primary" style="background-color:#f93504;">查询</el-button>
        </el-col>
        <el-col :span="1" :offset="1">
          <el-button plain>重置</el-button>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="1" :offset="2">
          <el-button type="primary" style="background-color:#f93504;">+新增</el-button>
        </el-col>
        <el-col :span="1" :offset="1">
          <el-button plain>导入</el-button>
        </el-col>
      </el-row> 
      <el-row>
        <el-table
          height="500"
          ref="table"
          :data="tableData"
          :header-cell-style="{background:'#f8a793'}">
          <el-table-column header-align="center" type="selection" width="55" />
          <el-table-column
            header-align="left"
            prop="id"
            label="序号"
          />
          <el-table-column
            header-align="left"
            prop="title"
            label="提案标题"
          />
          <el-table-column
            header-align="left"
            prop="type"
            label="提案类型"
          />
          <el-table-column
            header-align="left"
            prop="process"
            label="提案流程"
          />
          <el-table-column
            header-align="left"
            prop="state"
            label="提案状态"
          />
          <el-table-column
            header-align="left"
            prop="time"
            label="截止时间"
          />
          <el-table-column
            header-align="left"
            prop="score"
            label="积分"
          />
          <el-table-column
            header-align="left"
            prop="id"
            label="操作"
          >
          <template>
            <el-button
                type="text"
                size="small"
                width="60"
                >编辑</el-button
              >
              <el-button
                type="text"
                size="small"
                width="60"
                >详细</el-button
              >
              <el-button
                type="text"
                size="small"
                >删除</el-button
              >
            </template>
          </el-table-column>
        </el-table>
        <el-pagination
    layout="prev, pager, next"
    :total="0">
  </el-pagination>  
      </el-row>
          </div>
      </el-row>
      </div>
</template>
<script>
// import ProposalBar from '@/views/dashboard/BarChart'

export default {
  name: "submit",
  components: {},
  data() {
    return {
      // 版本号
      version: "1.0.0",
      content:"",
      options: [{
          value: '选项1',
          label: '全部'
        }, {
          value: '选项2',
          label: '全部'
        }, {
          value: '选项3',
          label: '全部'
        }, {
          value: '选项4',
          label: '全部'
        }, {
          value: '选项5',
          label: '全部'
        }],
        type: [{
          value: '选项1',
          label: '全部'
        }, {
          value: '选项2',
          label: '全部'
        }, {
          value: '选项3',
          label: '全部'
        }, {
          value: '选项4',
          label: '全部'
        }, {
          value: '选项5',
          label: '全部'
        }],
        tableData:[{
          id:1,
          title:"关于切实保障农民土地流转权益的建议",
          type:"个人提案",
          process:"提案受理",
          state:"办理中",
          time:"2021.06.10.00.03",
          score:"6",
          operation:"未申诉"
        },{
          id:2,
          title:"关于切实保障农民土地流转权益的建议",
          type:"个人提案",
          process:"提案受理",
          state:"办理中",
          time:"2021.06.10.00.03",
          score:"6",
          operation:"未申诉"
        },{
          id:3,
          title:"关于切实保障农民土地流转权益的建议",
          type:"个人提案",
          process:"提案受理",
          state:"办理中",
          time:"2021.06.10.00.03",
          score:"6",
          operation:"未申诉"
        }]

    };
  },
  methods: {
   
  },
};
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard-editor-container {
  padding: 8px;
  background-color: rgb(240, 242, 245);
  position: relative;
  
  .github-corner {
    position: absolute;
    top: 0;
    border: 0;
    right: 0;
  }
  }
  .el-row {
  margin-bottom: 10px;
  
}
  .bottom{
   padding: 8px;
  background: #fff;
  position: relative;
   margin-left: 10px; 
  // margin-right: 20px
}
  </style>